package com.huatai.exchange.integration.base.service;

import com.faneui.common.exception.BusinessException;

public interface WorkDayService {


    /**
     * 校验该自然日是否是工作日
     *
     * @param natureDay
     * @return
     * @throws BusinessException
     */
    boolean checkIsWorkDay(String natureDay) throws BusinessException;

    String getWorkDayNextWorkDay(String workDay) throws BusinessException;

    /**
     * 计算该自然日的下一个工作日
     *
     * @param natureDay
     *            yyyyMMdd 格式 自然日
     * @return
     * @throws BusinessException
     */
    String getNextWorkDay(String natureDay) throws BusinessException;

    String getNextNatureDay(String natureDay) throws BusinessException ;

    String getLastWorkDay(String natureDay) throws BusinessException ;

    String getLastNatrueDay(String natueDay) throws BusinessException ;

}
